
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>left</title>
    <LINK href="./css/style.css" type=text/css rel=stylesheet>
    <style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 8px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #5CB7FE;
}
.STYLE3 {font-size: 12px}
-->
</style>
  </head>
  
  <body>
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
  <!--DWLayoutTable-->
  <tr>
    <td height="5" colspan="3" align="center" valign="top"><img src="images/left_top.jpg" height="5" /></td>
  </tr>
  <tr>
    <td height="548">&nbsp;</td>
    <td valign="top" background="images/left_mid.jpg"><table width="100%" border="0" cellpadding="0" cellspacing="0">
      <!--DWLayoutTable-->
      <tr>
        <td height="8" colspan="2" valign="top" background="images/left_mid.jpg"><img src="images/left_mid.jpg" width="134" height="8" /></td>
      </tr>
		<tr>
	        <td width="30" height="26" align="right" valign="middle"><img src="images/mgmt.png" width="14" height="13" /></td>
	          <td width="104" valign="middle"><span class="STYLE3">&nbsp; <a href='realtimeEnvData.jsp' target="mainFrame">实时数据</a></span></td>
	        </tr>
        <tr>
        <% String authed = (String)session.getAttribute("auth");
			 if ("yes".equals(authed)) {          
          %>
        <tr>
	        <td width="30" height="26" align="right" valign="middle"><img src="images/mgmt.png" width="14" height="13" /></td>
	          <td width="104" valign="middle"><span class="STYLE3">&nbsp; <a href='allEnvData.jsp' target="mainFrame">查询数据</a></span></td>
	        </tr>
        <tr>
        <!--  
        <tr>
	        <td width="30" height="26" align="right" valign="middle"><img src="images/mgmt.png" width="14" height="13" /></td>
	          <td width="104" valign="middle"><span class="STYLE3">&nbsp; <a href='recoverEnvData.jsp' target="mainFrame">数据恢复</a></span></td>
	        </tr>
        <tr>
        -->
        <tr>
	        <td width="30" height="26" align="right" valign="middle"><img src="images/mgmt.png" width="14" height="13" /></td>
	          <td width="104" valign="middle"><span class="STYLE3">&nbsp; <a href='logger.action' target="mainFrame">系统日志</a></span></td>
	        </tr>
        <tr>
        <%} %>
    </table></td>
    <td>&nbsp;</td>
  </tr>
  
  <tr>
    <td height="5" colspan="3" align="center" valign="middle"><img src="images/left_bot.jpg" width="134" height="5" /></td>
  </tr>
</table>
  </body>
</html>
